home *** CD-ROM | disk | FTP | other *** search
/ User's Choice Windows CD / User's Choice Windows CD (CMS Software)(1993).iso / drvrs / win31acc.zip / INSTALL.BAT next >
DOS Batch File  |  1992-04-24  |  4KB  |  101 lines

  1. echo off
  2. cls
  3. if () == (%1) goto NO_ARG
  4. if (a:) == (%1) goto FDISK
  5. if (b:) == (%1) goto FDISK
  6. if (A:) == (%1) goto FDISK
  7. if (B:) == (%1) goto FDISK
  8. cls
  9. echo                    ┌─────────────────────────────┐
  10. echo                    │** ATI Windows 3.1 Drivers **│
  11. echo                    └─────────────────────────────┘
  12. echo 
  13. echo         ───────────────────────────────────────────────────────────
  14. echo                    ERROR: Invalid drive specified.
  15. echo                      You must use drive A: or B:
  16. echo         ───────────────────────────────────────────────────────────
  17. echo 
  18. echo         In order to properly install the Windows 3.1 drivers, the
  19. echo         files contained in enclosed archive SHOULD be extracted to a
  20. echo         floppy disk. The Windows SETUP program will then use this
  21. echo         disk to configure Windows correctly. Please try again
  22. echo         specifying either drive A: or B:.
  23. goto DONE
  24.  
  25. :NO_ARG
  26. cls
  27. echo                    ┌─────────────────────────────┐
  28. echo                    │** ATI Windows 3.1 Drivers **│
  29. echo                    └─────────────────────────────┘
  30. echo                          ─────────────────
  31. echo      This batch file needs to know what drive you wish to install
  32. echo        the files on. You must install the drivers to a diskette.
  33. echo    Please also ensure that the drive contains a floppy.
  34. echo 
  35. echo                        ─────────────────────────
  36. echo                       │ Usage: INSTALL [drive]: │
  37. echo                        ─────────────────────────
  38. echo                           Example: INSTALL A:
  39. goto DONE
  40.  
  41. :FDISK
  42. cls
  43. echo                    ┌─────────────────────────────┐
  44. echo                    │** ATI Windows 3.1 Drivers **│
  45. echo                    └─────────────────────────────┘
  46. echo                          ─────────────────
  47. echo              This batch file will conveniently extract the
  48. echo              ATI Windows 3.1 Drivers to a floppy diskette.
  49. echo                          ─────────────────
  50. echo              Please ensure that you have a blank/formatted
  51. echo             floppy diskette ready before you continue. This
  52. echo               diskette may be a high or low density type.
  53. echo 
  54. echo               Press any key to continue the installation
  55. echo                         or CONTROL-C to abort.
  56. pause >nul
  57. cls
  58. echo                    ┌─────────────────────────────┐
  59. echo                    │** ATI Windows 3.1 Drivers **│
  60. echo                    └─────────────────────────────┘
  61. echo                          ─────────────────
  62. echo Decompressing. . .
  63. win31acc /e%1
  64. if not ERRORLEVEL 0 goto ERROR
  65. cls
  66. echo                    ┌─────────────────────────────┐
  67. echo                    │** ATI Windows 3.1 Drivers **│
  68. echo                    └─────────────────────────────┘
  69. echo                          ─────────────────
  70. echo                     ╒══════════════════════════╕
  71. echo                     │ Installation successful! │
  72. echo                     ╘══════════════════════════╛
  73. echo 
  74. echo The first step of the installing your ATI Windows 3.1 drivers is now
  75. echo complete. The next step is to tell Windows to use these drivers. Please
  76. echo read the README.TXT file for instructions on how to tell Windows to use
  77. echo these new drivers. The README.TXT file is located on the diskette your
  78. echo have just created. If you require assistance in any way, please feel
  79. echo free to contact ATI Customer Support.
  80. echo 
  81. echo           ATI Customer Support (416) 756-0711 9am-5:30pm EST
  82. goto DONE
  83. :ERROR
  84. cls
  85. echo                    ┌─────────────────────────────┐
  86. echo                    │** ATI Windows 3.1 Drivers **│
  87. echo                    └─────────────────────────────┘
  88. echo 
  89. echo                       ╒══════════════════════╕
  90. echo                       │ Installation failed! │
  91. echo                       ╘══════════════════════╛
  92. echo                           ───────────────
  93. echo  Please check the diskette that you specified and ensure it has at least
  94. echo  800K free disk space. If this batch file continues to present problems,
  95. echo  please refer to the README.1ST file for instructions on how to manually
  96. echo  extract the Windows 3.1 drivers. If you continue to have problems,
  97. echo  download the file again or call ATI Customer Support for assistance.
  98. echo 
  99. echo           ATI Customer Support (416) 756-0711 9am-5:30pm EST
  100. :DONE
  101.